class HeroController < ApplicationController
  active_scaffold :hero do |config|
    config.list.columns = [:name, :angriff, :verteidigung, :leben, :isPegasus]
    config.columns[:isPegasus].label = "Pegasus"
    config.subform.columns = [:name, :angriff, :verteidigung, :leben, :isPegasus]
  end
end
